#ifndef CALLER_H
#define CALLER_H

#include <QObject>

class QDBusPendingCallWatcher;
class Caller : public QObject
{
    Q_OBJECT
public:
    explicit Caller(QObject *parent = nullptr);
    void callByMsg();
    void callByInterface();
    void callAsync();

signals:

public slots:
    void onNameChanged(const QString &name);

private:
    static const QString g_service;
    static const QString g_interface;
};

#endif // CALLER_H
